﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 生产废料产品关联表
    /// </summary>
    [SugarTable("ProduceScrapsProducts")]
    public class ProduceScrapsProducts:Audit
    {
        /// <summary>
        /// 生产废料产品关联表Id
        /// </summary>
        [SugarColumn(IsIdentity =true,IsPrimaryKey =true)]//主键自增
        public int PSPId { get; set; }
        /// <summary>
        /// 生产废料编号
        /// </summary>
        public string? ProductionWasteNumber { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 废料数量
        /// </summary>
        public int PScrapsNumber { get; set; }


    }
}
